package com.hirsi.module.auth.enums;

import com.hirsi.common.core.enums.IVoDataValidEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum DeveloperAuthValidEnum implements IVoDataValidEnum {


    PHONE_REGISTERED("phone", "手机号已被注册"),
    ID_CARD_REGISTERED("idCard", "身份证已被注册"),
    CODE_REGISTERED("code", "开发者编码已被注册"),
    USERNAME_REGISTERED("username", "用户名已被注册"),
    NICK_REGISTERED("nick", "昵称已被注册"),
    EMAIL_REGISTERED("email", "邮箱已被注册"),
    ACCOUNT_AUDIT("phone", "注册账号审核中，请勿重复提交"),
    PASSWORD_ERROR("password", "两次密码输入不一致"),
    CONFIRM_PASSWORD_ERROR("confirmPassword", "两次密码输入不一致");

    private String field;

    private String msg;
}
